Skip to main content

All Questions

Tagged with
-2votes
2answers
773views

What is the best way to run untrusted hooks/plugins?

I'm building a data processing system where users can submit hooks to execute on incoming data. The hooks are untrusted and should execute in a sandbox with access only to a limited API that I expose ...
Benjamin Egelund-Müller's user avatar
26votes
3answers
4kviews

What should plugins use: hooks, events or something else?

Consider an app that allows plugins to react to its program flow. I know 2 ways to achieve this: hooks and events 1. Hooks Use calls to empty functions inside the main program flow. These functions ...
Stas Bichenko's user avatar

close